import request from "@/utils/http"
import type { Category } from "@/types/Category"

// 获取一级分类
export const getCategoryLevelApi = () => {
  return request<Category[]>({
    url:'pms/front/home/categoryTree',
    method:"GET",
  })
}